package yl.hs.bmipfull.service.system;

import yl.hs.bmipfull.service.IBaseService;
import yl.hs.bmipfull.viewmodels.PageQuery;
import yl.hs.bmipfull.viewmodels.SubmitModel;

/*
 * ISearchFilterService
 * @category
 * @author 谢景广
 * @date 2021-10-23
 */
public interface ISearchViewService extends IBaseService {
    /**
     * 保存用户设置的搜索条件
     * @param model 用户提交的搜索条件
     * @return 数据操作影响行数
     */
    Integer saveViewModel(SubmitModel model) throws Exception;

    Integer saveViewFilter(SubmitModel model) throws Exception;

    Integer saveViewFields(SubmitModel model) throws Exception;

    Integer updateUserMenuView(PageQuery query) throws Exception;

    Integer deleteView(String sn);
}
